/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package auditenergetic;

/**
 *
 *
 * CALCUL TEMPERATURA INTERIOARA
 */
public class CalculTempInt {
    private double Ai;
    private double Tij;
    private double raport;
    public double Compute()
    {
        double prod, suma = 0, suma2 = 0;
        
             prod = Ai * Tij;
            suma = suma + prod;
            suma2 = suma + Ai;
            raport = suma/suma2;
        
        return raport;
    }
}
